package com.my.screenadapter.utils;

import android.os.Bundle;
import android.util.Log;

import cn.jpush.android.api.JPushInterface;

/**
 * Created by zhangyingjie on 2019-10-24
 *
 * @function
 */
public class BundleUtils {

    private static final String TAG = "BundleUtils";
    public static void print(Bundle bundle){

        if (bundle == null ) {
            Log.e(TAG, "print: bundle == null");
            return;
        }
        if (bundle.keySet()==null){
            Log.e(TAG, "print: bundle keyset == null" );
            return;
        }
        for (String key : bundle.keySet()) {
            Log.i(TAG, "print key:" + key + " , value:" + bundle.get(key));
        }

    }
}
